﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="B_Customers.aspx.cs" Inherits="RGPWEB.EN.User.B_Customers" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link href="../../inc/Style/index.css" rel="Stylesheet" type="text/css" />
<link href="../../inc/Style/contentstyle.css" rel="Stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../../inc/script/pub.js"></script>
<script language="javascript" type="text/javascript" src="../../inc/script/My97DatePicker/WdatePicker.js"></script>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="title">    
            <h1 class="on"><a href="B_CustomerSList.aspx">Customer List</a></h1>
             <h1><a href="javascript:void(0)">New Customer</a></h1>
        </div>
        <div>
            <fieldset>
                <legend>Reg Information</legend>
                <table style="width:100%">
                    <tr>
                        <td>REGTYPE：</td>
                        <td>
                                        <asp:RadioButtonList ID="rbl_type" runat="server" 
                                RepeatDirection="Horizontal">
                                            <asp:ListItem Value="0">Personal</asp:ListItem>
                                            <asp:ListItem Value="1">Enterprise</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                        <td>Industry：</td>
                        <td>
                                                <asp:DropDownList ID="ddl_indu" runat="server">
                                                    <asp:ListItem Value="0">Please Select</asp:ListItem>
                                                    <asp:ListItem Value="1">High-technology</asp:ListItem>
                                                    <asp:ListItem Value="2">Industrial manufacturing and Distribution</asp:ListItem>
                                                    <asp:ListItem Value="3">Customer Service</asp:ListItem>
                                                    <asp:ListItem Value="4">Retail /Consumer</asp:ListItem>
                                                    <asp:ListItem Value="5">Other industries</asp:ListItem>
                                                </asp:DropDownList>
                                        </td>
                        <td>Countries\Regions：</td>
                        <td>
                                        <asp:DropDownList ID="ddl_country" runat="server">
                                        </asp:DropDownList>
                                    </td>
                    </tr>
                    <tr>
                        <td>Code：</td>
                        <td>
                                        <asp:TextBox ID="txt_code" runat="server"></asp:TextBox>
                                                </td>
                        <td>Company Name：</td>
                        <td>
                                        <asp:TextBox ID="txt_company" runat="server"></asp:TextBox>
                                    </td>
                        <td>
                            <span style="DISPLAY: block">Shortname：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_sname" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td><span style="DISPLAY: block">Department：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_dep" runat="server"></asp:TextBox>
                                                </td>
                        <td>Contact Name：</td>
                        <td>
                                        <asp:TextBox ID="txt_linkmen" runat="server"></asp:TextBox>
                                                </td>
                        <td>
                            <span style="DISPLAY: block">Phone：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_phone" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>Position：</td>
                        <td>
                                        <asp:TextBox ID="txt_postion" runat="server"></asp:TextBox>
                                                </td>
                        <td>Staff Num：</td>
                        <td>
                                                <asp:DropDownList ID="ddl_staff" runat="server">
                                                    <asp:ListItem Value="0">Please Select</asp:ListItem>
                                                    <asp:ListItem Value="1">1(Including yourself)</asp:ListItem>
                                                    <asp:ListItem Value="2">2-5</asp:ListItem>
                                                    <asp:ListItem Value="3">6-9</asp:ListItem>
                                                    <asp:ListItem Value="4">10-19</asp:ListItem>
                                                    <asp:ListItem Value="5">20-49</asp:ListItem>
                                                    <asp:ListItem Value="6">50-99</asp:ListItem>
                                                    <asp:ListItem Value="7">100+</asp:ListItem>
                                                </asp:DropDownList>
                                                </td>
                        <td>
                            Fax：</td>
                        <td>
                                        <asp:TextBox ID="txt_fax" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>E_Mail：</td>
                        <td>
                                        <asp:TextBox ID="txt_mail" runat="server"></asp:TextBox>
                                                </td>
                        <td>Address：</td>
                        <td>
                                        <asp:TextBox ID="txt_add" runat="server" Width="240px"></asp:TextBox>
                                                </td>
                        <td>
                            <span style="DISPLAY: block">Zip Code：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_zip" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>NationalID：</td>
                        <td>
                                        <asp:TextBox ID="txt_nationid" runat="server"></asp:TextBox>
                                                </td>
                        <td>Other Add：</td>
                        <td>
                                        <asp:TextBox ID="txt_otheradd" runat="server" Width="240px"></asp:TextBox>
                                                </td>
                        <td>
                                        <span style="DISPLAY: block">Mobile：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_mobile" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>Demo：</td>
                        <td colspan="5">
                                        <asp:TextBox ID="txt_demo" runat="server" Height="60px" TextMode="MultiLine" 
                                            Width="480px"></asp:TextBox>
                                                </td>
                    </tr>
                    </table>
            </fieldset>
            <fieldset id="account" runat="server">
                <legend>Account Information</legend>
                    <table style="width:100%">
                        <tr>
                        <td>PayType：</td>
                        <td>
                             <asp:DropDownList ID="ddl_paytype" runat="server">
                                            <asp:ListItem Value="0">--Please Select--</asp:ListItem>
                                            <asp:ListItem Value="1"> Cash statement</asp:ListItem>
                                            <asp:ListItem Value="2">Monthly statement</asp:ListItem>
                                            <asp:ListItem Value="3">Prepayment</asp:ListItem>
                                            <asp:ListItem Value="4">Kaution</asp:ListItem>
                                        </asp:DropDownList>
                        </td>
                        <td><span style="DISPLAY: block">Credit：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_credit" runat="server" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}"></asp:TextBox>
                                                </td>
                        <td>
                            Level：</td>
                        <td>
                             <asp:DropDownList ID="ddl_level" runat="server">
                                    <asp:ListItem Value="0">--Please Select--</asp:ListItem>
                                    <asp:ListItem Value="1">Regular Member</asp:ListItem>
                                    <asp:ListItem Value="2">Golden Member</asp:ListItem>
                                    <asp:ListItem Value="3">Diamond Members</asp:ListItem>
                                </asp:DropDownList>
                                                </td>
                    </tr>
                        <tr>
                        <td>Payment cycle：</td>
                        <td>
                                        <asp:TextBox ID="txt_cycle" runat="server" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}"></asp:TextBox>
                                                </td>
                        <td>Date of last sender：</td>
                        <td>
                                        <asp:TextBox ID="txt_lastsend" runat="server" onClick='WdatePicker()'></asp:TextBox>
                                        &nbsp;</td>
                        <td>
                            Opening Date：</td>
                        <td>
                                 <asp:TextBox ID="txt_opendate" runat="server" onClick='WdatePicker()'></asp:TextBox></td>
                    </tr>
                        <tr>
                        <td>Status：</td>
                        <td>
                                        <asp:DropDownList ID="ddl_states" runat="server">
                                            <asp:ListItem Value="0">No User</asp:ListItem>
                                            <asp:ListItem Value="1">Normal</asp:ListItem>
                                            <asp:ListItem Value="2">Disabled</asp:ListItem>
                                        </asp:DropDownList>
                            </td>
                        <td><span style="DISPLAY: block">Change-date：</span></td>
                        <td>
                                      <asp:TextBox ID="txt_changedate" runat="server" onClick='WdatePicker()'></asp:TextBox></td>
                        <td>
                            PassWord：</td>
                        <td>
                                        <asp:TextBox ID="txt_pass" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                        <tr>
                        <td><span style="DISPLAY: block">Reason For Changes：</span></td>
                        <td colspan="3">
                                        <asp:TextBox ID="txt_reason" runat="server" Height="60px" TextMode="MultiLine" 
                                            Width="480px"></asp:TextBox>
                                                </td>
                        <td colspan="2">
                            <asp:Button ID="btn_ok" runat="server" onclick="btn_ok_Click" Text="OK" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btn_cancel" runat="server" onclick="btn_cancel_Click" 
                                Text="Cancel" />
                            <asp:HiddenField ID="hif_id" runat="server" />
                            </td>
                    </tr>
                    </table>
            </fieldset>
        </div>
    </form>
</body>
</html>
